.header {
  width: 100%;
  height: 80px;
  background-color: #454445;
}
.header .header-inner {
  width: 1200px;
  height: 80px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .header-inner h1 {
  width: 120px;
  height: 50px;
  background-image: url(../images/source/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 120px 50px;
}
.header .header-inner .city {
  font-size: 18px;
  color: #fff;
  flex: 1;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.header .header-inner .city .icon {
  width: 10px;
  height: 10px;
  background-image: url(../images/icon/drop_icon.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
  display: block;
}
.header .header-inner .active {
  background-color: #fff;
  color: #000;
}
.header .header-inner a {
  font-size: 18px;
  color: #fff;
  flex: 1;
  text-align: center;
  display: block;
  height: 80px;
  line-height: 80px;
}
.header .header-inner a:hover {
  background-color: #fff;
  color: #000;
}
.header .header-inner .search {
  width: 220px;
  height: 40px;
  position: relative;
}
.header .header-inner .search input {
  width: 220px;
  height: 40px;
  border: 0;
  background-color: #fff;
  border-radius: 100px;
  padding-left: 20px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 40px;
}
.header .header-inner .search::after {
  content: "";
  background-color: #3d3939;
  border-radius: 50%;
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  background-image: url(../images/icon/search_icon.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px 20px;
  top: 0;
  right: 0;
  box-sizing: border-box;
  cursor: pointer;
}
.header .header-inner .user {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .header-inner .user:hover {
  background-color: transparent;
}
.header .header-inner .user .icon {
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../images/source/xiaoyang.jpg);
  background-size: 40px 40px;
  border-radius: 50%;
}
